package com.weixing.mall.provider.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.core.enums.OrderSysTagEnum;
import com.weixing.mall.provider.api.model.enums.OrderTypeEnum;
import com.weixing.mall.provider.model.enums.AfterSaleAuditEnum;
import com.weixing.mall.provider.model.enums.AfterSalesTypeEnum;
import com.weixing.mall.provider.model.enums.OrderFromEnum;
import com.weixing.mall.provider.model.enums.OrderStateEnum;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName AfterSaleOrderDetilVo
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/10/12
 * @Version 1.0
 **/
@Data
public class AfterSaleOrderDetilVo {

    //订单id
    private Long id;
    //订单编号
    private String orderSn;
    //订单金额
    private Double orderPrice;
    //订单实付金额
    private Double actualPrice;
    //物流单号
    private String expressSn;
    //发货前审核时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date auditTime;
    //发货时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date shipTime;
    //订单状态
    private OrderStateEnum orderStatus;
    //代理商编号
    private String agentSn;
    //订单类型 正价订单；代理商活动订单；秒杀订单
    private OrderTypeEnum orderType;
    //下单来源 客服下单，代理商下单，客户下单
    private OrderFromEnum orderFrom;
    //所属仓库id
    private Long depotId;
    //客户备注
    private String remark;
    //订单创建时间（下单时间）
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
    //订单更新时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date updatedTime;
    //身高
    private Double height;
    //体重
    private Double weight;
    //外采价格
    private Double outerPrice;
    //客户名称（联系人）
    private String contactUser;
    //联系电话
    private String contactPhone;
    //收货地址
    private String addrDetail;
    //操作时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date operationTime;
    //质检入库时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date checkTime;
    //商品id
    private Long goodsId;
    //商品货号
    private String goodsSn;
    //供应商
    private String supplierName;
    //商品编号
    private String productSn;
    //款号
    private String styleNo;
    //商品码
    private String commodityCode;
    //skuDesp描述
    private String productSkuDesp;
    //下单人
    private String buyer;
    //商品图片
    private String image;
    //仓库名称
    private String depotName;
    //客服姓名
    private String customerName;
    //发货员名称
    private String shipperName;
    //发货员备注  --- 此备注不存在
    //private String shipperRemark;
    //客服备注
    //private String customerRemark;
    //订单客服备注
    private String kefuRemark;

    //售后客户备注
    private String AfterSaleRemark;
    //售后客服备注
    private String AfterSaleCustomerRemark;
    //售后类型
    private AfterSalesTypeEnum afterSaleType;
    //售后状态
    private AfterSaleAuditEnum afterSaleStatus;

    //省
    private String  province;
    //市
    private String  city;
    //区
    private String  region;
    //镇或街道
    private String  town;

    /**接收序号备注**/
    private String receiveRemark;
    /**
     * 所属代理
     */
    private String agentName;
    /**
     * 活动名称
     */
    private String actName;
    /**
     * 原快递单号
     */
    private String beforExpressSn;

    /**
     * 快递名称
     */
    private String expressName;

    /**
     * 订单后台标签状态
     */
    private OrderSysTagEnum sysTag;

    /**
     * 仓库接收入库时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date receiveTime;
}
